home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / pine3.96.tar.gz / pine3.96.tar / pine3.96 / pico / os_win.h < prev    next >
C/C++ Source or Header  |  1996-03-15  |  2KB  |  104 lines

  1. #line 2 "os_win.h"
  2. /*
  3.  * $Id: os_win.h,v 4.13 1996/03/15 07:41:11 hubert Exp $
  4.  *
  5.  * Program:    Operating system dependent routines - Ultrix 4.1
  6.  *
  7.  *
  8.  * Michael Seibel
  9.  * Networks and Distributed Computing
  10.  * Computing and Communications
  11.  * University of Washington
  12.  * Administration Builiding, AG-44
  13.  * Seattle, Washington, 98195, USA
  14.  * Internet: mikes@cac.washington.edu
  15.  *
  16.  * Please address all bugs and comments to "pine-bugs@cac.washington.edu"
  17.  *
  18.  *
  19.  * Pine and Pico are registered trademarks of the University of Washington.
  20.  * No commercial use of these trademarks may be made without prior written
  21.  * permission of the University of Washington.
  22.  * 
  23.  * Pine, Pico, and Pilot software and its included text are Copyright
  24.  * 1989-1996 by the University of Washington.
  25.  * 
  26.  * The full text of our legal notices is contained in the file called
  27.  * CPYRIGHT, included with this distribution.
  28.  */
  29.  
  30. #ifndef    OSDEP_H
  31. #define    OSDEP_H
  32.  
  33. #include    <stdlib.h>
  34. #include    <string.h>
  35. #include    <dos.h>
  36. #include    <direct.h>
  37. #include    <search.h>
  38. #undef    CTRL
  39. #include    <ctype.h>
  40. #include    <sys/types.h>
  41. #include    <sys/stat.h>
  42.  
  43.  
  44. /* define machine specifics */
  45. #define    IBMPC    1
  46.  
  47.  
  48.  
  49. /*
  50.  * type qsort expects
  51.  */
  52. #define    QSType    void
  53. #define QcompType const void
  54.  
  55.  
  56. /*
  57.  * File name separators, char and string
  58.  */
  59. #define    C_FILESEP    '\\'
  60. #define    S_FILESEP    "\\"
  61.  
  62.  
  63. /*
  64.  * What and where the tool that checks spelling is located.  If this is
  65.  * undefined, then the spelling checker is not compiled into pico.
  66.  */
  67. #define    SPELLER
  68.  
  69.  
  70. /*
  71.  * Mode passed chmod() to make tmp files exclusively user read/write-able
  72.  */
  73. /*#define    MODE_READONLY    (S_IREAD | S_IWRITE) */
  74.  
  75.  
  76. #ifdef    maindef
  77. /*    possible names and paths of help files under different OSs    */
  78.  
  79. char *pathname[] = {
  80.     "picorc",
  81.     "pico.hlp",
  82.     "\\usr\\local\\",
  83.     "\\usr\\lib\\",
  84.     ""
  85. };
  86.  
  87. #define    NPNAMES    (sizeof(pathname)/sizeof(char *))
  88.  
  89.  
  90. jmp_buf got_hup;
  91.  
  92. #endif
  93.  
  94.  
  95. /* Define function that mswin.c calls back for scrolling. */
  96. int    pico_scroll_callback ();
  97.  
  98.  
  99. #include "mswin.h"
  100. #include "msmenu.h"
  101.  
  102.  
  103. #endif    /* !OSDEP_H */
  104.